package interview.AbstractClass;

/**
 * @Author: Jun
 * @Date: 2018/9/8 11:08
 */
public abstract class AbstractClass extends Father implements InterfaceA {
    private Integer age=18;
    private String name="张三";

    public AbstractClass(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

    public AbstractClass(String name, String age, Integer age1, String name1) {
        super(name, age);
        this.age = age1;
        this.name = name1;
    }

    public abstract void walk();

    public void eat(){
        System.out.println("eat finnish");
    }

    public void People(){
        System.out.println(name+age);
    }


}
